-
Home
-
OOPSpam Anti-Spam: Spam Protection for WordPress Forms & Comments (No CAPTCHA)
-
1.2.55
-
Code
-
Classes
- OOPSpam_RateLimiter
| Total Complexity |
36 |
| Dependencies |
1 |
| Dependents |
5 |
| Total lines |
283 |
| Lines of code |
211 |
| Logical lines of code |
78 |
| Comment lines |
19 |
| Methods |
13 |
| Properties |
3 |
Methods 13
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| __construct() |
S |
53 |
6 |
23 |
| schedule_cleanup() |
S |
55 |
6 |
18 |
| checkLimit() |
S |
56 |
6 |
17 |
| oopspam_ratelimit_cleanup() |
S |
55 |
4 |
18 |
| recordAttempt() |
S |
47 |
2 |
44 |
| reschedule_cleanup() |
S |
59 |
3 |
13 |
| oopspam_register_cron_schedule() |
S |
61 |
2 |
11 |
| getAttempts() |
S |
58 |
1 |
18 |
| blockIdentifier() |
S |
58 |
1 |
17 |
| isBlocked() |
S |
59 |
1 |
16 |
| oopspam_truncate_ratelimit() |
S |
64 |
2 |
10 |
| getCurrentDateTime() |
S |
80 |
1 |
3 |
| getDateTimeWithOffset() |
S |
77 |
1 |
3 |